package com.md.api;

import com.md.model.system.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;

@Api("运维接口")
public interface InternalApi {
  String PATH_PREFIX = "/internal";

  /**
   * 初始化项目
   *
   * @return 操作结果
   */
  @PostMapping(PATH_PREFIX + "/init")
  @ApiOperation("初始化项目")
  CommonResult<Void> init();
}
